let arr = [
 "1|2|c|d|e|f",
 "1|2|ds|d|e|f",
]
for (let index = 0; index < arr.length; index++) {
  let arr2 = arr[index].arrStr.split("|")
  console.log(arr2)
}